import { storage } from '@/util/storage'

const TokenKey = 'token'

export function getToken() {
  return storage.getItem(TokenKey)
}

export function setToken(token) {
  storage.setItem(TokenKey, token)
}

export function removeToken() {
  storage.clear()
}
